package com.sbj.dto.res;

import cn.zhxu.bs.bean.DbField;
import cn.zhxu.bs.bean.SearchBean;
import lombok.Data;

import java.io.Serializable;

/**
 * @author summer
 * @version 1.0
 * @date 2024/9/14 22:16 o.order_id,o.kd_id,k.name,k.code,o.kd_code
 */
@Data
@SearchBean(tables = "order_kd o left join kd k on o.kd_id = k.id",autoMapTo = "o")
public class OrderKdRes implements Serializable {

     @DbField("o.order_id")
     private Integer orderId;

     @DbField("o.kd_id")
     private Integer kdId;

     @DbField("o.kd_code")
     private String kdCode;

     @DbField("k.code")
     private String code;

     @DbField("k.name")
     private String name;
}
